$OpenBSD: patch-include_gtest_internal_gtest-port_h,v 1.1.1.1 2009/12/31 11:21:13 landry Exp $
--- include/gtest/internal/gtest-port.h.orig	Fri Oct  9 13:49:58 2009
+++ include/gtest/internal/gtest-port.h	Fri Oct  9 13:51:33 2009
@@ -200,12 +200,14 @@
 #define GTEST_OS_LINUX 1
 #elif defined __MVS__
 #define GTEST_OS_ZOS 1
+#elif defined __OpenBSD__
+#define GTEST_OS_OPENBSD 1
 #elif defined(__sun) && defined(__SVR4)
 #define GTEST_OS_SOLARIS 1
 #endif  // __CYGWIN__
 
 #if GTEST_OS_CYGWIN || GTEST_OS_LINUX || GTEST_OS_MAC || GTEST_OS_SYMBIAN || \
-    GTEST_OS_SOLARIS
+    GTEST_OS_SOLARIS || GTEST_OS_OPENBSD
 
 // On some platforms, <regex.h> needs someone to define size_t, and
 // won't compile otherwise.  We can #include it here as we already
